package vashion.azeroth.core.common;

/**
 * Created by tingting on 15/9/5.
 */

import vashion.azeroth.core.pojo.common.OperateFlowEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by tingting on 15/9/5.
 * 操作流水注解
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface NeedOperateFlow {


    /**
     * 操作者id位置
     *
     * @return
     */
    int operateIdArgLocation() default 0;

    /**
     * 流水类型
     *
     * @return
     */
    OperateFlowEnum operateFlowEnum() default OperateFlowEnum.ITEM;


}
